import { Dayjs } from 'dayjs'
import { BasicListModel } from '@/api/model/basicModel'

/**
 * @description: 共享资源列表接口参数
 */
export interface SharingListParams extends BasicListModel {
  resourceName?: string
  resourceType?: string
  resourceUser?: string
  userId?: string
  cTime?: Dayjs | string | undefined | null
}

/**
 * @description: 添加资源接口参数
 */
export interface AddResourceParams {
  resourceName: string
  resourceScope: string
  resourceType: string
  resourceId: string
  resourceUser?: string // 创建人id
  resourceUserName?: string // 创建人名称
  users: string[] // 查看人员id数组
}
